Optimal. Leaf size=105 \[ -\frac {\tanh ^{-1}\left (\frac {\sqrt {a+b \sin (c+d x)}}{\sqrt {a-b}}\right )}{(a-b)^{3/2} d}+\frac {\tanh ^{-1}\left (\frac {\sqrt {a+b \sin (c+d x)}}{\sqrt {a+b}}\right )}{(a+b)^{3/2} d}+\frac {2 b}{\left (a^2-b^2\right ) d \sqrt {a+b \sin (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.11, antiderivative size = 105, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.238, Rules used = {2747, 724, 841,
1180, 212} \begin {gather*} \frac {2 b}{d \left (a^2-b^2\right ) \sqrt {a+b \sin (c+d x)}}-\frac {\tanh ^{-1}\left (\frac {\sqrt {a+b \sin (c+d x)}}{\sqrt {a-b}}\right )}{d (a-b)^{3/2}}+\frac {\tanh ^{-1}\left (\frac {\sqrt {a+b \sin (c+d x)}}{\sqrt {a+b}}\right )}{d (a+b)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 724
Rule 841
Rule 1180
Rule 2747
Rubi steps
\begin {align*} \int \frac {\sec (c+d x)}{(a+b \sin (c+d x))^{3/2}} \, dx &=\frac {b \text {Subst}\left (\int \frac {1}{(a+x)^{3/2} \left (b^2-x^2\right )} \, dx,x,b \sin (c+d x)\right )}{d}\\ &=\frac {2 b}{\left (a^2-b^2\right ) d \sqrt {a+b \sin (c+d x)}}+\frac {b \text {Subst}\left (\int \frac {a-x}{\sqrt {a+x} \left (b^2-x^2\right )} \, dx,x,b \sin (c+d x)\right )}{\left (a^2-b^2\right ) d}\\ &=\frac {2 b}{\left (a^2-b^2\right ) d \sqrt {a+b \sin (c+d x)}}+\frac {(2 b) \text {Subst}\left (\int \frac {2 a-x^2}{-a^2+b^2+2 a x^2-x^4} \, dx,x,\sqrt {a+b \sin (c+d x)}\right )}{\left (a^2-b^2\right ) d}\\ &=\frac {2 b}{\left (a^2-b^2\right ) d \sqrt {a+b \sin (c+d x)}}-\frac {\text {Subst}\left (\int \frac {1}{a-b-x^2} \, dx,x,\sqrt {a+b \sin (c+d x)}\right )}{(a-b) d}+\frac {\text {Subst}\left (\int \frac {1}{a+b-x^2} \, dx,x,\sqrt {a+b \sin (c+d x)}\right )}{(a+b) d}\\ &=-\frac {\tanh ^{-1}\left (\frac {\sqrt {a+b \sin (c+d x)}}{\sqrt {a-b}}\right )}{(a-b)^{3/2} d}+\frac {\tanh ^{-1}\left (\frac {\sqrt {a+b \sin (c+d x)}}{\sqrt {a+b}}\right )}{(a+b)^{3/2} d}+\frac {2 b}{\left (a^2-b^2\right ) d \sqrt {a+b \sin (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in
optimal.
time = 0.09, size = 91, normalized size = 0.87 \begin {gather*} \frac {(a+b) \, _2F_1\left (-\frac {1}{2},1;\frac {1}{2};\frac {a+b \sin (c+d x)}{a-b}\right )+(-a+b) \, _2F_1\left (-\frac {1}{2},1;\frac {1}{2};\frac {a+b \sin (c+d x)}{a+b}\right )}{(a-b) (a+b) d \sqrt {a+b \sin (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.53, size = 94, normalized size = 0.90
method | result | size |
default | \(\frac {\frac {2 b}{\left (a -b \right ) \left (a +b \right ) \sqrt {a +b \sin \left (d x +c \right )}}+\frac {\arctanh \left (\frac {\sqrt {a +b \sin \left (d x +c \right )}}{\sqrt {a +b}}\right )}{\left (a +b \right )^{\frac {3}{2}}}+\frac {\arctan \left (\frac {\sqrt {a +b \sin \left (d x +c \right )}}{\sqrt {-a +b}}\right )}{\left (a -b \right ) \sqrt {-a +b}}}{d}\) | \(94\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sec {\left (c + d x \right )}}{\left (a + b \sin {\left (c + d x \right )}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{\cos \left (c+d\,x\right )\,{\left (a+b\,\sin \left (c+d\,x\right )\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________